package com.hyt.it.ogt.kq.service.bm.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hyt.core.annotation.FieldMapping;
import com.hyt.core.base.BaseEntity;
import com.hyt.core.constant.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报名统计
 * </p>
 *
 * @author wangt
 * @since 2020-05-15
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bm_project_statistic")
@ApiModel(value = "ProjectStatistic对象", description = "报名统计")
public class ProjectStatistic extends BaseEntity {
 
    @ApiModelProperty(value = "报名项目id")
    private String projectId;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门ID")
    private String deptId;

    @ApiModelProperty(value = "区域code")
    private String areaCode;

    @FieldMapping
    @ApiModelProperty(value = "已报人数")
    private Integer enrolledNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "报名人次")
    private Integer personTimeNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "待审核人数")
    private Integer pendingNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "审核通过人数")
    private Integer passAuditNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "审核不通过人数")
    private Integer failAuditNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "待缴费人数")
    private Integer unpaidNum = CommonConstant.ZERO;

    @FieldMapping
    @ApiModelProperty(value = "已缴费人数")
    private Integer paidNum = CommonConstant.ZERO;
}
